
export class PlayerInfo {
    public playerId: number = 0;
    public sid: string = "";

    public delThisTime: number = 0; // 玩家下线后删除时刻

    constructor(playerId: number) {
        this.playerId = playerId;
    }


    private online() {
        this.delThisTime = 0;
    }

    offline() {
        if (!this.sid) {
            return;
        }
    }

    kick(code: number) {
        if (!this.sid) {
            return;
        }
        this.offline();
    }

}